﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ACM.MES.工序
{
    public class CreateUpdateOperationDto
    {
        [Required]
        [StringLength(OperatonConsts.MaxOpCodeLength)]
        public string OpCode { get; set; }
        /// <summary>
        /// 工序描述
        /// </summary>
        [Required]
        [StringLength(OperatonConsts.MaxDescriptionLength)]
        public string Description { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(OperatonConsts.MaxRemarkLength)]
        public string Remark { get; set; }
    }
}
